<!-- ############################## body content ############################## -->
<div id="body_content">
    <div id="tours_content">
      	<div id="detail_l" style="padding-right:5px;width:717px">
        	<div id="tours_line" style="border-bottom:1px solid #CCC">
		    	<img src="<?php echo base_url(); ?>public/images/home_icon.png" alt="" align="left" style="margin:-4px 5px 0px 0px;" /><a href="<?php echo base_url(); ?>">Home</a> &raquo; <a href="javascript:void(0)"><?php echo $title; ?></a>
		    </div>
            <div id="showimgs" style="padding-top:10px;padding-left:2px">
            	<img src="<?php echo base_url(); ?>public/images/contact_us.jpg" alt="" />
            </div>
            <div id="showinfo" style="padding-top:30px;padding-left:2px">
            	<?php echo $contact['contact_value']; ?>
            </div>
            <script type="text/javascript">
				$(document).ready(function(){
					$("#ctsend").click(function(){
						$name = $("#ctname").val();
						$mail = $("#ctemail").val();
						$contry = $("#ctnational").val();
						$phone = $("#ctphone").val();
						$find = $("#cthowdid").val();
						$subj = $("#ctsubject").val();
						$info = $("#ctinfo").val();
						if($name == "" || $mail == "" || $contry == "" || $phone == "" || $find == "" || $info == ""){
							$("#showerr").html("Please enter full information!");
							return false;
						}else{
							$.ajax({
								"url" 	: "<?php echo base_url(); ?>home/contact/ajax",
								"type" 	: "POST",
								"data" 	: "name="+$name+"&email="+$mail+"&country="+$contry+"&phone="+$phone+"&find="+$find+"&subject="+$subj+"&info="+$info,
								"async" : false,
								success : function(result){
									$("#showerr").html(result);
									$("#ctname").val("");
									$("#ctemail").val("");
									$("#ctnational").val("");
									$("#ctphone").val("");
									$("#cthowdid").val("");
									$("#ctsubject").val("");
									$("#ctinfo").val("");
								}
							});
						}
					});
				});
            </script>
            <div id="showform" style="padding-top:20px;padding-left:2px">
            	<h2 style="margin-bottom:20px;font-weight:bold">FORM CONTACT</h2>
                
            	<form  action="javascript:void(0)" method="post" name="myForm">
	            <div id="form_contact">
	            		<div class="form_info">
	                    	<div class="title_form_info">Name <span class="red">*</span></div>
	                        <div class="conent_form_info"><input type="text" id="ctname" style="width:180px; height:24px;" /></div>
	                    </div>
	                    <div class="form_info">
	                    	<div class="title_form_info">Email <span class="red">*</span></div>
	                        <div class="conent_form_info"><input id="ctemail"  type="text" style="width:180px; height:24px;" /></div>
	                    </div>
	                    <div class="form_info">
	                    	<div class="title_form_info">Country <span class="red">*</span></div>
	                        <div class="conent_form_info"><input id="ctnational" type="text" style="width:180px; height:24px;" /></div>
	                    </div>
						<div class="form_info2">
	                    	<div class="title_form_info">Phone <span class="red">*</span></div>
	                        <div class="conent_form_info"><input type="text"  id="ctphone" style="width:382px; height:24px;" /></div>
	                    </div>
                        <div class="form_info">
	                        <div class="title_form_info">Find us <span class="red">*</span></div>
	                        <div class="conent_form_info">
	                            <select id="cthowdid"  style="width:180px; height:24px;">
		                            <option value="" selected>Please select</option>
		                            <option value="Google Keywords search">Google Keywords search</option>
		                            <option value="Google ads">Google ads</option>
		                            <option value="Tripadvisor reviews">Tripadvisor reviews</option>
		                            <option value="Forum">Forum</option>
		                            <option value="Recommended">Recommended</option>
		                            <option value="Others">Others</option>
		                    	</select>
                        	</div>
	                    </div>
	                    <div class="form_info2">
	                    	<div class="title_form_info">Subject: </div>
	                        <div class="conent_form_info"><input type="text" id="ctsubject" style="width:382px; height:24px;" /></div>
	                    </div>
	                   <div class="form_info3">
	                       <div class="title_form_info">Message *</div>
	                       <div class="conent_form_info"><textarea cols="" id="ctinfo" style="width:585px; height:100px;"></textarea></div>
	                   </div>
	      				<div class="form_info"><div id="showerr" style="color:#F00;padding:5px 0px"></div><input type="submit" name="ok" id="ctsend" value="Send" style="font-weight:bold;color:#F00;padding:5px 10px;margin-top:5px" /></div>
				</div>
			</form>
            </div>
            <div id="showmap" style="padding-top:30px">
            	<iframe width="710" height="380" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=vi&amp;geocode=&amp;q=17+ng%C3%B4+nguy%E1%BB%81n+h%C3%A0+n%E1%BB%99i&amp;aq=&amp;sll=21.027229,105.857906&amp;sspn=0.017225,0.033023&amp;ie=UTF8&amp;hq=&amp;hnear=17+Ng%C3%B4+Quy%E1%BB%81n,+Ho%C3%A0n+Ki%E1%BA%BFm,+H%C3%A0+N%E1%BB%99i,+Vi%E1%BB%87t+Nam&amp;t=m&amp;ll=21.025346,105.854259&amp;spn=0.015222,0.030427&amp;z=15&amp;output=embed"></iframe>
            </div>
        </div>
      	<div id="detail_r">
        	<div id="hottours">
              	<div class="hot_top"><h3>COMPANY</h3></div>
              	<div class="hot_related">
               	 	<ul>
	                <?php
					if(isset($introduc)){
						foreach($introduc as $rela){
							echo "<li><a href='".base_url()."about-us/".$rela['in_name_rewrite']."/".$rela['in_id'].".html'>".$rela['in_name']."</a></li>";
						}
					}
					?>
	                </ul>
                </div>
            </div>
            <div id="support_online"><img src="<?php echo base_url(); ?>public/images/support_online.jpg" width="210" height="135" /></div>
            <div id="custom_trip"><img src="<?php echo base_url(); ?>public/images/custom_your_trip.jpg" width="210" /></div>
            <div id="travel_guide"><img src="<?php echo base_url(); ?>public/images/travel_guide.jpg" width="210" height="135" /></div>
        </div>
        <div class="cls"></div>
    </div>
</div>
<!-- ############################## end body content ############################## -->